#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "dish.h"
MainWindow::MainWindow(QWidget *parent): QMainWindow(parent), ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    _dish_dlg = new dish(this);
    _dish_dlg->setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint);  //设定自定义窗口，并且边界最小化
    setCentralWidget(_dish_dlg);
    _dish_dlg->show();
}

MainWindow::~MainWindow()
{
    delete ui;
}

